std — standard deviation


\begin{rail}
StdDev : 'std' '(' ( Scalar \vert Matrix ) ')' ;
\end{rail}
std calculates the standard deviation of the elements in the argument matrix. If the argument is a row or column vector, then the standard deviation of all elements is returned. Otherwise std returns a row-matrix formed by taking the standard deviation of the elements in each column. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the mst.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying std.r may make this function unavailable.

Subsections